package com.sh.mytool.cv.service;

import com.sh.common.page.QueryResult;
import com.sh.mytool.cv.domain.Video;
import com.sh.mytool.cv.domain.VideoFile;
import com.sh.mytool.cv.domain.VideoImage;

public interface VideoService {

    public QueryResult<Video> page(String scope, Object[] params, int begin, int max);

    public void insert(Video video, VideoFile videoFile, VideoImage imageFile) throws Exception;

    public void delete(Long id) throws Exception ;

    public Video get(Long id);

    public void update(Video video, VideoFile videoFile, VideoImage imageFile)  throws Exception;

}
